package java6681.lesson15.score;

import java.util.Arrays;

public class AverageaDemo6681 {
    public static void main(String[] args) {
        Study6681 stu = new Study6681();
        double[] score = {80.5, 73.0, 90.0, 88.7, 100, 59.6, 99.0};
        Sport6681 spo = new Sport6681();
        double[] sport = {9.81, 8.93, 9.15, 8.3, 9.1, 9.2, 8.9, 8.99};
        System.out.println("学生成绩：" + Arrays.toString(score));
        System.out.println("平均成绩：" + stu.average(score));
        System.out.println("裁判亮分：" + Arrays.toString(sport));
        System.out.println("最后得分：" + spo.average(sport));
    }
}
